<template>
  <div>
    <el-table
      v-loading="$store.state.loading"
      :data="$store.state.admin.adminLoginList"
      style="width: 100%"
    >
      <el-table-column label="登陆时间" width="220">
        <template slot-scope="scope">
          <i class="el-icon-time"></i>
          <span style="margin-left: 10px">{{ scope.row.createTime | date}}</span>
        </template>
      </el-table-column>
      <el-table-column label="管理员账号" width="180">
        <template slot-scope="scope">{{scope.row.adminName}}</template>
      </el-table-column>
    </el-table>
    <PageInfo action-name="getadminLoglist"></PageInfo>
  </div>
</template>

<script>
export default {
  name: "adminlog"
};
</script>